<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/index/css/style.css"/>
    <script type="text/javascript" src="__STATIC__/index/js/rem.js"></script>
    <title>我的</title>
</head>
<body>
<div class="mine">
    <!--用户个人信息-->
    <div class="user_avatar">
        <div class="user_img">
            <img class="auto-img" src="{$user.headimg}"/>
        </div>
        <p class="text-center white">{if $user.iden==2}店长：{/if}{$user.nickname}</p>
        <a href="editUser"><i class="user_edit"></i></a>
    </div>
    <!--选择icon-->
    <div class="user_option">
        <ul class="option_list clear">
            <li>
                <a href="/index/order/index">
                    <div class="icon_img">
                        <img class="auto-img" src="__STATIC__/index/img/icon-mine-order.png"/>
                    </div>
                    <p class="text-center smoth super-text">我的订单</p>
                </a>
            </li>
            <li>
                <a href="jifen">
                    <div class="icon_img">
                        <img class="auto-img" src="__STATIC__/index/img/icon-mine-grade.png"/>
                    </div>
                    <p class="text-center smoth super-text">我的积分</p>
                </a>
            </li>
            <li>
                <a href="/index/user/address">
                    <div class="icon_img">
                        <img class="auto-img" src="__STATIC__/index/img/icon-mine-address.png"/>
                    </div>
                    <p class="text-center smoth super-text">地址管理</p>
                </a>
            </li>
            <li>
                <a href="collect">
                    <div class="icon_img">
                        <img class="auto-img" src="__STATIC__/index/img/icon-mine-collect.png"/>
                    </div>
                    <p class="text-center smoth super-text">我的收藏</p>
                </a>
            </li>
            <li>
                <a href="join">
                    <div class="icon_img">
                        <img class="auto-img" src="__STATIC__/index/img/icon-mine-join.png"/>
                    </div>
                    <p class="text-center smoth super-text">特许加盟</p>
                </a>
            </li>
            <li onclick="showTips('.cart_pop')">
                <div class="icon_img">
                    <img class="auto-img" src="__STATIC__/index/img/icon-mine-connect.png"/>
                </div>
                <p class="text-center smoth super-text">联系我们</p>
            </li>
        </ul>
    </div>
    <!--底部tabs-->
    <div class="nav-tabs">
        <ul class="nav-list clear">
            <a href="/index/entry/index">
                <li>
                    <i class="home"></i>
                    <p class="text-center normall-text">首页</p>
                </li>
            </a>
            <a href="/index/cart/index">
                <li>
                    <i class="shopcart"></i>
                    <p class="text-center normall-text">购物车</p>
                </li>
            </a>
            <a href="/index/peijing/index">
                <li>
                    <i class="query"></i>
                    <p class="text-center normall-text">配镜查询</p>
                </li>
            </a>
            <a href="javascript:;">
                <li>
                    <i class="mine-selected"></i>
                    <p class="text-center normall-text on">我的</p>
                </li>
            </a>
        </ul>
    </div>
</div>
<!--弹窗联系客服-->
<div class="cart_pop">
    <div class="pop_msg">
        <img class="pop_close" src="__STATIC__/index/img/icon-close.png" onclick="hideTips('.cart_pop')"/>
        <p class="text-center super-text smoth bold">确认拨打{:conf('kefu')}吗?</p>
        <div class="pop_btn">
            <button class="cancel" onclick="hideTips('.cart_pop')">取消</button>
            <a style="width: 1.7rem;height: 0.6rem;border-radius: 0.1rem;font-size: 0.26rem;line-height: 0.6rem;text-align: center;display: block;"
               href="tel:{:conf('kefu')}" class="ensure">确定</a>
        </div>
    </div>
</div>
<script type="text/javascript" src="__STATIC__/index/js/jquery-1.11.2.min.js"></script>
<script type="text/javascript">
    //弹出框
    function showTips(classname) {
        return $(classname).show()
    }

    function hideTips(classname) {
        return $(classname).hide()
    }

    //点击确定拨打
    $('.ensure').on('click', function () {
        hideTips('.cart_pop')
    })

</script>
</body>
</html>